package com.orphan.audit.controller;


import com.orphan.audit.po.UserreturnAudit;
import com.orphan.audit.service.IUserDetailService;
import com.orphan.audit.service.IUserreturnAuditService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author yichen
 * @since 2021-07-14
 */
@RestController
@RequestMapping("/userreturn-audit")
public class UserreturnAuditController {
    @Autowired
    private IUserreturnAuditService userreturnAuditService;
    @GetMapping("getALL")
    private List<UserreturnAudit> getAll(){
        List<UserreturnAudit> userreturnAudits = userreturnAuditService.getAll();
        return userreturnAudits;
    }
}
